package org.xmatch.agenda.presentation;

import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.xmatch.agenda.business.AgendaBO;
import org.xmatch.agenda.entity.Agenda;
import org.xmatch.framework.presentation.GenericEntityListAction;

@Name("agendaListAction")
public class AgendaListAction extends GenericEntityListAction<Agenda>{

	private static final long serialVersionUID = -6504122919170605764L;
	
	public AgendaListAction(){
		this.setDataTableId("agendaSearch:pagedDataTable");
	}

	@In(value = "agendaBO", create = true)
	public void setBusinessService(AgendaBO bo) {
		this.businessService = bo;
	}

	public void setAgenda(Agenda agenda) {
		setInstance(agenda);
	}

	public Agenda getAgenda() {
		return getInstance();
	}
	
	
}
